package com.flitsneak.designpatterns.creationalpatterns.factory.simplefactory;

import com.flitsneak.designpatterns.creationalpatterns.factory.simplefactory.traditionalbreakfast.FriedDoughSticks;


/**
 * Author: flitsneak
 * Date: 2022/5/31 17:12
 * Description:
 */
public class FeiFei {
    public static void main(String[] args) {
        Breakfast friedDoughSticks = TraditionalBreakfastShop.makeBreakfast(FriedDoughSticks.class);
        System.out.println("飞飞买的早餐是：" + friedDoughSticks.getName());
        System.out.println("飞飞花了：" + friedDoughSticks.getMoney());
    }
}
